@mixin alert-variant($background, $border, $body-color) {
	background-color: $background;
	border-color: $border;
	color: $body-color;

	hr {
		border-top-color: darken($border, 5%);
	}
	.alert-link {
		color: darken($body-color, 10%);
	}
}

.alert {
	@include border-radius($alert-border-radius);
}

.alert-success {
	@include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);
}
.alert-info {
	@include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);
}
.alert-warning {
	@include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text);
}
.alert-danger {
	@include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
}
